<?php
	//显示商品详细内容
	include "../../functions.php";
	$data = include "goodsdb.php";
	include "view.php";
	assign("gname",$data[$_GET['id']]['gname']);//分配商品名称
	assign("price",$data[$_GET['id']]['price']);//分配商品名称
	assign("id",$_GET['id']);//分配商品名称
	display("tpl/goods.html")
?>